SELECT FORMMAIN_1679.FIELD0001 deptCode,FORMMAIN_1679.FIELD0002 deptName,FORMMAIN_1679.FIELD0004 supCode,
FORMMAIN_1679.FIELD0009 is_state FROM FORMMAIN_1679
LEFT JOIN ORG_UNIT ON ORG_UNIT.CODE = FORMMAIN_1679.FIELD0001 AND ORG_UNIT.IS_DELETED = 0 
WHERE ORG_UNIT.CODE IS NULL AND  FORMMAIN_1679.FIELD0009 = '2' AND FORMMAIN_1679.FIELD0001 != '13' AND FORMMAIN_1679.FIELD0001 != '14'